Bottom-Up Shape Analysis
نویسندگان
چکیده
In this paper we present a new shape analysis algorithm. The key distinguishing aspect of our algorithm is that it is completely compositional, bottom-up and non-iterative. We present our algorithm as an inference system for computing Hoare triples summarizing heap manipulating programs. Our inference rules are compositional: Hoare triples for a compound statement are computed from the Hoare triples of its component statements. These inference rules are used as the basis for a bottom-up shape analysis of programs. Specifically, we present a logic of iterated separation formula (LISF) which uses the iterated separating conjunct of Reynolds [17] to represent program states. A key ingredient of our inference rules is a strong biabduction operation between two logical formulas. We describe sound strong bi-abduction and satisfiability decision procedures for LISF. We have built a prototype tool that implements these inference rules and have evaluated it on standard shape analysis benchmark programs. Preliminary results show that our tool can generate expressive summaries, which are complete functional specifications in many cases.
منابع مشابه
Domes as a Prodigal Shape in Synthesis-Enhanced Parsers
Research on logic based bottom-up parsing in particular, around Constraint Handling Rule Grammars [3]is uncovering shape as an untapped fertile ground for natural language processing in general, and for bottom-up parsing and grammar induction in particular [1]. For instance, commonalities between shapes implicit in molecular biology strings and in natural language strings motivated an award win...
متن کاملLearning Invariant Visual Shape Representations from Physics
3D shape determines an object’s physical properties to a large degree. In this article, we introduce an autonomous learning system for categorizing 3D shape of simulated objects from single views. The system extends an unsupervised bottom-up learning architecture based on the slowness principle with top-down information derived from the physical behavior of objects. The unsupervised bottom-up l...
متن کاملResistance to Flow in a V-Shaped Bottom Channel
Water flow in open channels is always subject to the resistance to flow and energy dissipation. For design purposes, one of the needed variables is the hydraulic resistance coefficient. For this mean, the influence of cross-sectional shape together with secondary flow cells and lateral distribution of true boundary shear stress have not yet been fully explored. This paper surveys the number of ...
متن کاملLearning Genetic Representations as Alternative to Hand- Coded Shape Grammars
Shape grammars have been used to analyze and describe designs, and to create new designs that are similar in style to the designs the grammar is based on. The grammars are created by hand, involving a large amount of research about the designs and the design process. This paper proposes a different approach, where a system is given design examples, and in a bottom-up process learns stylistic fe...
متن کاملA survey on Deformable model and its latest Extensions
Deformable models, a promising and vigorously researched model-based approach to computer-assisted medical image analysis. The widely recognized potency of deformable models stems from their ability to segment, match, and track images of anatomic structures by exploiting (bottom-up) constraints derived from the image data together with (top-down) a priori knowledge about the location, size, and...
متن کامل